put the id of card button "show your stuff" into cardID
set the name of card button id cardID to "Click mouse to stop."
repeat until the mouse is down
show card button id cardID at the mouseh, the mousev
end repeat
set the name of card button id cardID to "Show your stuff"
show card button id cardID at 392,184
end mouseUp
-- part 4 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=308 top=51 right=153 bottom=483
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name:
----- HyperTalk script -----
on mouseUp
hide card field 1
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=394 top=243 right=261 bottom=414
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
if visible of card field 1 then hide card field 1
else show card field 1
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=297 top=99 right=117 bottom=317
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
if visible of card field 2 then hide card field 2
else show card field 2
end mouseUp
-- part 13 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=206 top=122 right=314 bottom=450
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name:
----- HyperTalk script -----
on mouseUp
hide card field 2
end mouseUp
-- part contents for background part 1
----- text -----
Show menuBar
show card window [at h,v]*
show pattern window [at h,v]
Show tool window [at h,v]
show message window [at h,v]
show all cards
Show card button ID 2 [at h,v]
Show field <name> [at h, v]
Puts the specified window, field, or button at any horizontal or vertical location you specify.*
-- part contents for background part 2
----- text -----
Show
-- part contents for background part 44
----- text -----
Form
What it does
-- part contents for background part 43
----- text -----
337,122
-- part contents for card part 4
----- text -----
H and V are the horizontal and vertical screen coordinates. Show card window uses absolute coordinates; the others are relative to the position of the card window.
-- part contents for card part 13
----- text -----
When you want to specify a location on the screen, you specify two numbers—represented by "h" and "v". These are the horizontal distance from the left
(h) and the vertical distance from the top (v). The object appears centered at the location you specify.
A general method to get numbers to use for "h" and "v" is to place the pointer anywhere on the screen, type "the mouseLoc" into the Message box, and press the Return key.